ExamPlay Light Logo
로그인

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 9 - No. 5)

In the linear search example, what does the 'Found' flag help to achieve?
Increase efficiency by skipping parts of the search.
Indicate if the target item was located within the list.
Determine the position of the target item.
Stop the search after finding a match.

설명

The 'Found' variable indicates whether the search was successful.

댓글 (0)

댓글을 달려면 로그인하세요
광고
BrainBehindX Inc Logo
©2026; 에 의해 구동 BrainBehindX Inc